package com.wisnews.util;

/**
 * <p>
 *  常量类
 * </p>
 *
 * @author yuyd
 * @since 2020-12-15
 */
public class Constants {

	public interface SYS_CODE {

		String SUCCESS = "0";
		String SUCCESS_MESSAGE = "成功";
		String LOGOUT_SUCCESS_MESSAGE = "退出成功";
		String SUCCESS_EMPTY = "没有找到数据";
		String FAIL = "-9999";
		String FAIL_MESSAGE = "失败";
		String ISTRUE_YES = "1";// 1是,0否
		String returnCode = "code";// 返回编码
		String returnMessage = "msg";// 返回描述
		String returnData = "data";// 返回前台的页面查询结果
		String returnTotal = "total"; // 前台页面查询的结果数量
		String returnRows = "rows";// 前台页面查询的结果集合 list
		String LOGIN_USER = "loginUser";// 登录用户
		String HOME_USER = "homeUser";// 登录用户
		Long maxIdleTimeInMillis = 3000000L;
		Integer PSWD_DEGREE = 1024;//用户密码hash散列次数
	}

	public interface SYS_STATE {

		String USE = "1";
		String NO_USE = "0";
	}

	/**
	 * @description: 系统权限常量
	 * @param:
	 * @return:
	 * @author yuyd
	 * @date: 2021/5/4 21:32
	 */
	public interface SYS_JURISDICTION {
		String SYS_DELETE = "sec:delete"; //删除系统用户
	}


}
